package server.socket;

import base.BaseValue;
import server.socket.server.ChatServer;

import java.io.IOException;

public class ServerSocketController {
    public static void main(String[] args) {
        try {
            ChatServer chatServer=new ChatServer(BaseValue.chatPort);
            new Thread(chatServer::update).start();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
